<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

namespace app\admin\model;

/**
 * Description of Conf
 *
 * @author Administrator
 */
use think\Model;
class Conf extends Model {
    //put your code here
    
     public function getConf(){   //传入id 获得当前id的记录，传null 获得所有记录的列表
           return $this->paginate(10);
    }
    public function getTconf($id){
        return $this->find($id);
    }
 }
